<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IList<Team>>" %>
<%@ Import Namespace="TeamCommunitySolution.Domain.DataLayer.Base"%>
<table width="100%">
    <tr>
      <td colspan="2">Header</td>
    </tr>
    <% foreach (var item in Model)
       { %>
    <tr>
        <td>
            <%= Html.ActionLink(item.Name, "Edit", "Team", new{ id=item.Id }, null)%>
        </td>
        <td>
            <%= Html.ActionLink("Message", "CreateTeamMessage", "CommunicationCenter", new { teamId = item.Id }, null)%>
        </td>
    </tr>
    <% } %>
</table>
